package cn.ml.mymvcdemo.main;

import java.util.HashMap;
import java.util.Map;

public class ActionMap {
    private Map<String,Action> map = new HashMap<>();
    public void putAction(String actionName,Action action){
        map.put(actionName,action);
    }
    public Action findAction(String actionName){
        return map.get(actionName);
    }
}
